home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Univers Interactif 3
/
INTERACTIF.BIN
/
pc
/
planeten
/
internet
/
macslip2.6up
/
AppleScript Examples
/
Configure
next >
Wrap
Text File
|
1994-12-06
|
935b
|
31 lines
--
-- AppleScript script to configure some MacSLIP items
--
-- configSet 0 is the currently selected configuration set.
-- You can also specify the name of a configuration set, e.g.:
-- tell configSet "Home"
--
tell application "MacSLIP Apple Events"
--
-- Set some variables in the default configuration set.
-- Variables referenced relative to a configuration set
-- are local variables.
-- NOTE: the variables set by this sample script are not
-- used by any of the sample MacSLIP connection scripts
--
tell configSet 0
-- Set some variables
set the value of configVariable "myname" to "Richard"
set the value of configVariable "hidden" to "secret"
set the hideFlag of configVariable "hidden" to true
-- Set some configuration items
set DTRInputFlowControl to true
set CTSOutputFlowControl to true
end tell
--
-- Set a global variable
--
set the value of configVariable "gvar" to "a glbl var"
end tell